package com.niuwa.p2p.dao.customer;

import java.util.List;
import java.util.Map;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.customer.StudentCust;
import com.niuwa.p2p.entity.customer.StudentInfoFromApp;

@MyBatisDao
public interface StudentCustDao {

    int insert(StudentCust record);

    StudentCust findOne(Long custId);

    int update(StudentCust record);
    /**
   	 * 查询所有的学生信息
   	 * @param paramsMap
   	 * @return
   	 */
   	public List<StudentInfoFromApp> selectStudentList(Map<String,Object> paramsMap);
   	
   	/**
   	 * 计算学生的数量
   	 * @return
   	 */
   	public int countStudents();
}